package com.ruoyi.ma.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 甲供材标准材料清单业务对象 ma_base_manifest_standard
 *
 * @author tll
 * @date 2024-11-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MaBaseManifestStandardBo extends BaseEntity {

    /**
     * 甲供材标准清单id
     */
//    @NotNull(message = "甲供材标准清单id不能为空", groups = { EditGroup.class })
    private Long maStandardId;

    /**
     * 关联的甲供材清单类型字典值value
     */
//    @NotNull(message = "关联的甲供材清单类型字典值value不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;
    /**
     * 关联的甲供材清单类型字典值label
     */
    private String typeName;

    /**
     * 排序
     */
//    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sort;

    /**
     * 清单编号
     */
//    @NotBlank(message = "清单编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String manifestCode;

    /**
     * 清单名称
     */
//    @NotBlank(message = "清单名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String manifestName;

    /**
     * 型号
     */
//    @NotBlank(message = "型号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String model;

    /**
     * 规格
     */
//    @NotBlank(message = "规格不能为空", groups = { AddGroup.class, EditGroup.class })
    private String specification;

    /**
     * 单位
     */
//    @NotBlank(message = "单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String unit;

    /**
     * 清单数量
     */
//    @NotNull(message = "清单数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal manifestNumber;

    /**
     * 清单单价
     */
//    @NotNull(message = "清单单价不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal manifestPrice;

    /**
     * 清单金额
     */
//    @NotNull(message = "清单金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal manifestTotal;

    /**
     * 调整额
     */
//    @NotNull(message = "调整额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal adjustments;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
